<%@ LANGUAGE="VBSCRIPT" %>
<%'  ------------------------------------------------------------
  '  secbanner.asp 
  '  ------------------------------------------------------------
  '  VCS INFO:
  '  
  '  $Revision:   1.9  $
  '  $Date:   19 May 1998 20:06:30  $
  '  $Author:   shsieh  $
  '  $Workfile:   secbanner.asp  $
  '  ------------------------------------------------------------
  '  All Rights Reserved.  Copyright (c) 1988-1998 FileNET Corp.
  '  ------------------------------------------------------------
  '%>
<%
'Panagon IDM Web application uses the Session variable LibraryLogonID to keep track of
'whether the user has logged on.
'Please see logoncall.asp to see how the Session variable LibraryLogonID is set.
IsLoggedOn = (Len(Session("LibraryLogonID")) > 0)
%>

<% ObjType = CInt(Request.QueryString("Type")) %>

<HTML>
<HEAD>
  <META NAME="GENERATOR" CONTENT="Adobe PageMill 2.0 Mac">
  <TITLE>Panagon IDM Security Banner</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff" BACKGROUND="images/grayban.jpg">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD><IMG SRC="images/security.gif" WIDTH="242" HEIGHT="80" ALIGN="BOTTOM" NATURALSIZEFLAG="3"></TD>
<TD WIDTH="523%" NOWRAP>
<P ALIGN=RIGHT>
<A HREF="browser.asp" TARGET="_top"><IMG SRC="images/browicon.gif" WIDTH="82" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>
<A HREF="search.asp" TARGET="_top"><IMG SRC="images/search.gif" WIDTH="79" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>
<A HREF="viewer.asp" TARGET="_top"><IMG SRC="images/viewlink.gif" WIDTH="60" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>
<%
'If the user is logged on to a Document Services library, then add the
'links to Add Document and Checked Out List pages.
if IsLoggedOn then 
	LibraryLogonID = Session("LibraryLogonID")
	Set LibraryObj = Server.CreateObject("IDMObjects.Library")
	LibraryObj.LogonId = LibraryLogonID
	if LibraryObj.SystemType <> Application("idmSysTypeIS") then %>
<A HREF="adddoc.asp" TARGET="_top"><IMG SRC="images/adddoc.gif" WIDTH="63" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>
<A HREF="checkedout.asp" TARGET="_top"><IMG SRC="images/checkot.gif" WIDTH="96" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>
<%	end if 
end if %>
<A HREF="help/idmwebhelp.asp?HelpTopic=Security&ObjType=<%= ObjType %>" TARGET="_top"><IMG SRC="images/help.gif" WIDTH="59" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>
<A HREF="home.asp" TARGET="_top"><IMG SRC="images/homelink.gif" WIDTH="68" HEIGHT="71" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0"></A>&nbsp;</TD>
</TR>
</TABLE>
</BODY>
</HTML>
